﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Disassembler
{
    abstract class Reader
    {
        protected string PathToData;

        protected Reader(string pathToData)
        {
            if (File.Exists(pathToData))
            {
                PathToData = pathToData;
            }
            else
            {
                throw new FileLoadException(pathToData + " does not exists");
            }
        }

        //protected string ReadData()
        //{
        //    return File.ReadAllText(PathToData);
        //}
    }
}
